Move Method (SparseArray<T>)
Moves a range of elements from an SparseArray starting at the specified source index and pastes them to another SparseArray starting at the specified target index. Elements of old range will be clear. The length and the indexes are specified as 32-bit integers.
Parameters
- source
- The SparseArray that contains the data to move.
- sourceIndex
- A 32-bit integer that represents the index in the source at which moving begins.
- target
- The SparseArray that receives the data.
- targetIndex
- A 32-bit integer that represents the index in the target at which storing begins.
- length
- A 32-bit integer that represents the number of elements to move.